﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GenericDemo
{
    internal class CommonMethod
    {
        public static void Show(int parameter)
        {
            Console.WriteLine();
        }
        public static void Show(string parameter)
        {
            Console.WriteLine();
        }
        public static void ShowObject(object obj)
        {
            Console.WriteLine();
        }

        public static void ShoeGeneric<T>(T tParameter)
        {
            Console.WriteLine($"This is {typeof(CommonMethod).Name},parameter is {tParameter.GetType().Name},type = {tParameter}");
        }
    }
}
